<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::detail::tracking::TrackerContribSamplerCSC Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d2/daf/namespacecv_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="../../de/d44/namespacecv_1_1detail_1_1tracking.html">tracking</a></li><li class="navelem"><a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html">TrackerContribSamplerCSC</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="../../db/d25/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::detail::tracking::TrackerContribSamplerCSC Class Reference<div class="ingroups"><a class="el" href="../../d9/df8/group__tracking.html">Tracking API</a> &raquo; <a class="el" href="../../d5/d0b/group__tracking__detail.html">Tracking API implementation details</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="../../dc/d24/classcv_1_1detail_1_1tracking_1_1TrackerSampler.html" title="Class that manages the sampler in order to select regions for the update the model of the tracker [AA...">TrackerSampler</a> based on CSC (current state centered), used by MIL algorithm <a class="el" href="../../d0/d26/classcv_1_1TrackerMIL.html" title="The MIL algorithm trains a classifier in an online manner to separate the object from the background...">TrackerMIL</a>.  
 <a href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#details">More...</a></p>

<p><code>#include &lt;opencv2/tracking/tracking_internals.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::detail::tracking::TrackerContribSamplerCSC:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.png" usemap="#cv::detail::tracking::TrackerContribSamplerCSC_map" alt=""/>
  <map id="cv::detail::tracking::TrackerContribSamplerCSC_map" name="cv::detail::tracking::TrackerContribSamplerCSC_map">
<area href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html" title="Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific..." alt="cv::detail::tracking::TrackerContribSamplerAlgorithm" shape="rect" coords="0,56,303,80"/>
<area href="../../de/d0a/classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm.html" title="Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sample..." alt="cv::detail::tracking::TrackerSamplerAlgorithm" shape="rect" coords="0,0,303,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/de0/structcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC_1_1Params.html">Params</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:abb66ede7e13bd8ef0f35a7c9c1b6dc55"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <br />
&#160;&#160;<a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#abb66ede7e13bd8ef0f35a7c9c1b6dc55a85acf4f105900f6f9f60eb580fe4c05b">MODE_INIT_POS</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#abb66ede7e13bd8ef0f35a7c9c1b6dc55a6560bf515f06ea1ce791d4fc4bf2129a">MODE_INIT_NEG</a> = 2, 
<br />
&#160;&#160;<a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#abb66ede7e13bd8ef0f35a7c9c1b6dc55ad9d22e3b8987699747f9ceeab4b27666">MODE_TRACK_POS</a> = 3, 
<br />
&#160;&#160;<a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#abb66ede7e13bd8ef0f35a7c9c1b6dc55ac5dc5816e045a026eda6d334aecd3c93">MODE_TRACK_NEG</a> = 4, 
<br />
&#160;&#160;<a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#abb66ede7e13bd8ef0f35a7c9c1b6dc55acf2cd01f849ad4c22a95812156677389">MODE_DETECT</a> = 5
<br />
 }</td></tr>
<tr class="separator:abb66ede7e13bd8ef0f35a7c9c1b6dc55"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa7fde16460b35d170232d9a09af5c969"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#aa7fde16460b35d170232d9a09af5c969">TrackerContribSamplerCSC</a> (const <a class="el" href="../../de/de0/structcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC_1_1Params.html">TrackerContribSamplerCSC::Params</a> &amp;parameters=<a class="el" href="../../de/de0/structcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC_1_1Params.html">TrackerContribSamplerCSC::Params</a>())</td></tr>
<tr class="memdesc:aa7fde16460b35d170232d9a09af5c969"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aa7fde16460b35d170232d9a09af5c969">More...</a><br /></td></tr>
<tr class="separator:aa7fde16460b35d170232d9a09af5c969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a132100de01e2d3794e27878910076703"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#a132100de01e2d3794e27878910076703">~TrackerContribSamplerCSC</a> ()</td></tr>
<tr class="separator:a132100de01e2d3794e27878910076703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1f4b4ce9dcb839ff86e74d6bf5b3d41"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#ac1f4b4ce9dcb839ff86e74d6bf5b3d41">setMode</a> (int samplingMode)</td></tr>
<tr class="memdesc:ac1f4b4ce9dcb839ff86e74d6bf5b3d41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the sampling mode of <a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html" title="TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL. ">TrackerContribSamplerCSC</a>.  <a href="#ac1f4b4ce9dcb839ff86e74d6bf5b3d41">More...</a><br /></td></tr>
<tr class="separator:ac1f4b4ce9dcb839ff86e74d6bf5b3d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html">cv::detail::tracking::TrackerContribSamplerAlgorithm</a></td></tr>
<tr class="memitem:a834304d22c23c118817f47c7293ef3f7 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#a834304d22c23c118817f47c7293ef3f7">~TrackerContribSamplerAlgorithm</a> ()</td></tr>
<tr class="memdesc:a834304d22c23c118817f47c7293ef3f7 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#a834304d22c23c118817f47c7293ef3f7">More...</a><br /></td></tr>
<tr class="separator:a834304d22c23c118817f47c7293ef3f7 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa8caf93dbd42d736f82f4b4e84050ec inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#aaa8caf93dbd42d736f82f4b4e84050ec">getClassName</a> () const</td></tr>
<tr class="memdesc:aaa8caf93dbd42d736f82f4b4e84050ec inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the specific <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html" title="Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific...">TrackerContribSamplerAlgorithm</a>.  <a href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#aaa8caf93dbd42d736f82f4b4e84050ec">More...</a><br /></td></tr>
<tr class="separator:aaa8caf93dbd42d736f82f4b4e84050ec inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20e22103127b02d5509d9f4f9dfa7cb6 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#a20e22103127b02d5509d9f4f9dfa7cb6">sampling</a> (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;image, const <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &amp;boundingBox, std::vector&lt; <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &gt; &amp;sample) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a20e22103127b02d5509d9f4f9dfa7cb6 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the regions starting from a position in an image.  <a href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#a20e22103127b02d5509d9f4f9dfa7cb6">More...</a><br /></td></tr>
<tr class="separator:a20e22103127b02d5509d9f4f9dfa7cb6 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../de/d0a/classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm.html">cv::detail::tracking::TrackerSamplerAlgorithm</a></td></tr>
<tr class="memitem:a60e9e1ac05ecb1a7e8180b59c20186a3 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d0a/classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm.html#a60e9e1ac05ecb1a7e8180b59c20186a3">~TrackerSamplerAlgorithm</a> ()</td></tr>
<tr class="separator:a60e9e1ac05ecb1a7e8180b59c20186a3 inherit pub_methods_classcv_1_1detail_1_1tracking_1_1TrackerSamplerAlgorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a2f49b171e28d0b10293f1599846757d2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html#a2f49b171e28d0b10293f1599846757d2">samplingImpl</a> (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;image, <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> boundingBox, std::vector&lt; <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &gt; &amp;sample) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:a2f49b171e28d0b10293f1599846757d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm')"><img src="../../closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html">cv::detail::tracking::TrackerContribSamplerAlgorithm</a></td></tr>
<tr class="memitem:af91d452e43481f876e700d68024c7395 inherit pub_static_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html">TrackerContribSamplerAlgorithm</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#af91d452e43481f876e700d68024c7395">create</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;trackerSamplerType)</td></tr>
<tr class="memdesc:af91d452e43481f876e700d68024c7395 inherit pub_static_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html" title="Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific...">TrackerContribSamplerAlgorithm</a> by tracker sampler type.  <a href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#af91d452e43481f876e700d68024c7395">More...</a><br /></td></tr>
<tr class="separator:af91d452e43481f876e700d68024c7395 inherit pub_static_methods_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm')"><img src="../../closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html">cv::detail::tracking::TrackerContribSamplerAlgorithm</a></td></tr>
<tr class="memitem:abd8d615a2c97fa99f6722a3ab5027123 inherit pro_attribs_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#abd8d615a2c97fa99f6722a3ab5027123">className</a></td></tr>
<tr class="separator:abd8d615a2c97fa99f6722a3ab5027123 inherit pro_attribs_classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="../../dc/d24/classcv_1_1detail_1_1tracking_1_1TrackerSampler.html" title="Class that manages the sampler in order to select regions for the update the model of the tracker [AA...">TrackerSampler</a> based on CSC (current state centered), used by MIL algorithm <a class="el" href="../../d0/d26/classcv_1_1TrackerMIL.html" title="The MIL algorithm trains a classifier in an online manner to separate the object from the background...">TrackerMIL</a>. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="abb66ede7e13bd8ef0f35a7c9c1b6dc55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb66ede7e13bd8ef0f35a7c9c1b6dc55">&#9670;&nbsp;</a></span>anonymous enum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="abb66ede7e13bd8ef0f35a7c9c1b6dc55a85acf4f105900f6f9f60eb580fe4c05b"></a>MODE_INIT_POS&#160;</td><td class="fielddoc"><p>mode for init positive samples </p>
</td></tr>
<tr><td class="fieldname"><a id="abb66ede7e13bd8ef0f35a7c9c1b6dc55a6560bf515f06ea1ce791d4fc4bf2129a"></a>MODE_INIT_NEG&#160;</td><td class="fielddoc"><p>mode for init negative samples </p>
</td></tr>
<tr><td class="fieldname"><a id="abb66ede7e13bd8ef0f35a7c9c1b6dc55ad9d22e3b8987699747f9ceeab4b27666"></a>MODE_TRACK_POS&#160;</td><td class="fielddoc"><p>mode for update positive samples </p>
</td></tr>
<tr><td class="fieldname"><a id="abb66ede7e13bd8ef0f35a7c9c1b6dc55ac5dc5816e045a026eda6d334aecd3c93"></a>MODE_TRACK_NEG&#160;</td><td class="fielddoc"><p>mode for update negative samples </p>
</td></tr>
<tr><td class="fieldname"><a id="abb66ede7e13bd8ef0f35a7c9c1b6dc55acf2cd01f849ad4c22a95812156677389"></a>MODE_DETECT&#160;</td><td class="fielddoc"><p>mode for detect samples </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa7fde16460b35d170232d9a09af5c969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7fde16460b35d170232d9a09af5c969">&#9670;&nbsp;</a></span>TrackerContribSamplerCSC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::detail::tracking::TrackerContribSamplerCSC::TrackerContribSamplerCSC </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../de/de0/structcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC_1_1Params.html">TrackerContribSamplerCSC::Params</a> &amp;&#160;</td>
          <td class="paramname"><em>parameters</em> = <code><a class="el" href="../../de/de0/structcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC_1_1Params.html">TrackerContribSamplerCSC::Params</a>()</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameters</td><td><a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html" title="TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL. ">TrackerContribSamplerCSC</a> parameters <a class="el" href="../../de/de0/structcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC_1_1Params.html">TrackerContribSamplerCSC::Params</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a132100de01e2d3794e27878910076703"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a132100de01e2d3794e27878910076703">&#9670;&nbsp;</a></span>~TrackerContribSamplerCSC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::detail::tracking::TrackerContribSamplerCSC::~TrackerContribSamplerCSC </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2f49b171e28d0b10293f1599846757d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f49b171e28d0b10293f1599846757d2">&#9670;&nbsp;</a></span>samplingImpl()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::detail::tracking::TrackerContribSamplerCSC::samplingImpl </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>&#160;</td>
          <td class="paramname"><em>boundingBox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sample</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../dc/d27/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerAlgorithm.html#a17987af8055c89b43455b43384c240e2">cv::detail::tracking::TrackerContribSamplerAlgorithm</a>.</p>

</div>
</div>
<a id="ac1f4b4ce9dcb839ff86e74d6bf5b3d41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1f4b4ce9dcb839ff86e74d6bf5b3d41">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::detail::tracking::TrackerContribSamplerCSC::setMode </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>samplingMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the sampling mode of <a class="el" href="../../db/d5e/classcv_1_1detail_1_1tracking_1_1TrackerContribSamplerCSC.html" title="TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL. ">TrackerContribSamplerCSC</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">samplingMode</td><td>The sampling mode</td></tr>
  </table>
  </dd>
</dl>
<p>The modes are:</p>
<ul>
<li>"MODE_INIT_POS = 1" &ndash; for the positive sampling in initialization step</li>
<li>"MODE_INIT_NEG = 2" &ndash; for the negative sampling in initialization step</li>
<li>"MODE_TRACK_POS = 3" &ndash; for the positive sampling in update step</li>
<li>"MODE_TRACK_NEG = 4" &ndash; for the negative sampling in update step</li>
<li>"MODE_DETECT = 5" &ndash; for the sampling in detection step </li>
</ul>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/tracking/<a class="el" href="../../d3/de1/tracking__internals_8hpp.html">tracking_internals.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:46 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
